.component-add-or-edit-invoice {
  .con {
    .button-box {
      display: flex;
      justify-content: flex-start;
      flex-wrap: wrap;
      max-width: 350px;

      .button-box-item {
        margin-right: 20px;
        height: 32px;
        background: #ffffff;
        border: 1px solid #dcdcdc;
        opacity: 1;
        border-radius: 2px;
        display: flex;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        position: relative;
        padding: 0 20px;

        .text {
          min-width: 56px;
          height: 16px;
          font-size: 12px;
          font-family: Microsoft YaHei;
          font-weight: 400;
          line-height: 16px;
          color: #333333;
          opacity: 1;
          text-align: center;
        }
      }

      .button-box-item.active {
        border: 1px solid #e1251b;
      }

      .active {
        &:after {
          position: absolute;
          bottom: 2px;
          right: 1px;
          display: block;
          width: 10px;
          height: 8px;
          content: ' ';
          background: url(@/assets/images/icons.png) no-repeat -21px -750px;
        }

        &:before {
          position: absolute;
          bottom: 0;
          right: 0;
          display: block;
          width: 0;
          height: 0;
          content: ' ';
          border: 10px solid transparent;
          border-right: 10px solid #e1251b;
          border-bottom: 10px solid #e1251b;
        }
      }
    }

    .description-box {
      width: 396px;
      min-height: 80px;
      padding: 10px;
      background: #f9f9f9;
      opacity: 1;
      border-radius: 2px;
      line-height: 20px;
      color: #999999;
    }
  }

  .invoice-con {
    .edit {
      .item {
        .label {
          width: 95px;
          text-align: right;
          margin-right: 10px;
        }

        .label.invoice-en {
          width: 155px;
        }
      }
    }
  }

  .popup-box {
    .invoice-con {
      .edit {
        .item {
          .btn-r {
            padding: 6px 15px 5px 15px;
            background: #e1251b;
            color: #fff;
            border-radius: 2px;
          }

          .btn-close {
            margin-left: 12px;
            padding: 6px 15px 5px 15px;
            background: #ffffff;
            color: #333333;
            border-radius: 2px;
            border: 1px solid #dcdcdc;
          }

          .label-btn {
            width: 95px;
            margin-right: 10px;
          }
        }
      }
    }
  }

  /* 修复transform导致弹窗内容模糊问题 */
  .area {
    .el-input__inner {
      margin: 0;
      padding: 0;
      height: 20px;
      line-height: 20px;
    }

    .el-scrollbar {
      width: 97px;
    }

    .el-input__suffix-inner {
      position: absolute;
      top: -10px;
      left: -18px;
    }
  }

  .el-select-dropdown {
    z-index: 20005 !important;
  }

  .el-select-dropdown__item.selected {
    color: unset;
    font-weight: unset;
  }

  .el-select {
    .area {
      .el-select {
        .el-input {
          overflow: hidden;
        }
      }
    }
  }

  .fix-transform-blur {
    z-index: 10000;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .empty {
    color: #acacac;
    padding: 10px 0 10px;
  }
}
